<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
    	*{
    	    margin: 0;
    	    padding: 0;
    	}
    	.header{
    	    height: 50px;
    	    line-height: 50px;
    	    color: white;
    	    background-color: black;
    	    display: flex;
    	}
    	.header-left{
    	    margin-left: 2%;
    	    display: inline-block;
    	}
    	.header-right{
    	    display: inline-block; 
    	    margin-left: 30%;
    	}
    	.header-right li{
    	    list-style: none;
    	    line-height: 25px;
    	    border-right: 1px solid white;
    	    display: inline-block;
    	    justify-content: space-between;
    	}
    	.header-right li + li{
    	    border-right: 1px solid white;
    	}
    	li:hover,li+li:hover{
    	    color: red;
    	    border-right: 2px solid blue;
    	}
    </style>
</head>
<body>
    <div class="header">
        <div class="header-left">
            <p>您好，欢迎光临有路网！</p>
        </div>
        <div class="header-right">
            <ul>
                <li>请登录</li>
                <li>免费注册</li>
                <li>我的有路</li>
                <li>我要开店</li>
                <li>团购批发</li>
                <li>客服服务</li>
                <li>手机有路</li>
                <li>微信公众号</li>
            </ul>
        </div>
    </div>
</body>
</html>